<?php

class HtaController extends AdminController {
	public $modelName = 'TravelAgency';
	public function outerActions() {
		return array(
			'index' => 'actions.basic.travelAgency.select',
		);
	}
	
	public function actionInfo($id) {
		$model = TravelAgency::model()->findByPk($id);
		
		echo CJSON::encode(array(
			'id' => $model->id,
			'name' => $model->__toString(),
		));
	}
	
	
}

?>